GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 09969e...e7c062 )
by
unknown
02:43 queued 02:40
created

module.exports   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 23

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 6
dl 0
loc 23
rs 9.0856
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A 0 21 1
1
'use strict';
2
3
module.exports = function (gulp, paths, plugins, options, srcFile, distFile) {
4
    return function () {
5
        return gulp.src(paths.SRC_PATH + srcFile)
6
            .pipe(plugins.plumber())
7
            .pipe(plugins.if(!options.production, plugins.sourcemaps.init()))
8
            .pipe(plugins.sass({
9
                includePaths: ['styles'].concat(plugins.neat)
10
            }))
11
            .on('error', plugins.interceptErrors)
12
            .pipe(plugins.autoprefixer({
13
                browsers: ['last 2 versions', 'Explorer >= 10', 'Android >= 4.1', 'Safari >= 7', 'iOS >= 7'],
14
                cascade: false
15
            }))
16
            .pipe(plugins.if(options.production, plugins.cleanCss({compatibility: 'ie8'})))
17
            .pipe(plugins.if(!options.production, plugins.sourcemaps.write('./')))
18
            .pipe(gulp.dest(paths.DIST_PATH + distFile))
19
            .pipe(plugins.browserSync.stream({match: '**/*.css'}))
20
            .pipe(plugins.if(
21
                options.notifications,
22
                plugins.notify({message: 'Sass task complete'}))
23
            )
24
    }
25
};